package com.one.efaimaly.order.model.event;

import com.one.common.manager.event.IEvent;

/**
 * creator: zhulunjun
 * time:    2018/8/15
 * describe:
 */
public class AddMaterialEvent implements IEvent {

    public static final  int FREE = 1;
    public static final  int PAY = 2;

    private int type;
    private String name;

    public AddMaterialEvent(int type, String name) {
        this.type = type;
        this.name = name;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
